@(message: String, orders : List[Orders], valueSearch: String)
@main("Mybatis-Spring-Play Demo") { 
	
	<h2>@message</h2>
	@*<form action="@routes.Application.searchCustomers" method="GET">*@
        @*<input type="text" value="@valueSearch" name="filter" id="filter" />*@
        @*<input type="submit" value="Search"/>*@
    @*</form>*@
	
	<table class="datatable">
		<tr>
			<th>Id</th>
			<th>First Name</th>
			<th></th>
			<th></th>
			<th></th>
		</tr>
		@orders.map { c =>
			<tr>
				<td>@c.getId</td>
				<td>@c.getCustomer.getLastName</td>
				<td>@c.getOrderDate</td>
				<td>
					<form action="@routes.Application.editCustomer(c.getId)" method="GET">
						<input type="submit" value="Edit">
					</form>
				</td>
				<td>
					<form action="@routes.OrderController.delOrder(c.getId)"  method="POST">
						<input type="submit" value="Delete">
					</form>
				</td>
			</tr>
		}
	</table>

    <h1> Test thu</h1>
	<a href="@routes.OrderController.createOrder()" style="margin-top: 10px; display: block;">Create new Order</a>
	
}


